public class Image
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected long |
pointer |
Modifier | Constructor and Description |
---|---|
|
Image(byte[] bytes) |
protected |
Image(long p) |
|
Image(Pixmap pixmap) |
|
Image(java.lang.String filename) |
Modifier and Type | Method and Description |
---|---|
void |
destroy() |
protected void |
finalize() |
int |
getBitsPerComponent() |
ColorSpace |
getColorSpace() |
int |
getHeight() |
boolean |
getImageMask() |
boolean |
getInterpolate() |
Image |
getMask() |
int |
getNumberOfComponents() |
int |
getWidth() |
int |
getXResolution() |
int |
getYResolution() |
Pixmap |
toPixmap() |
protected Image(long p)
public Image(Pixmap pixmap)
public Image(java.lang.String filename)
public Image(byte[] bytes)
protected void finalize()
finalize
in class java.lang.Object
public void destroy()
public int getWidth()
public int getHeight()
public int getXResolution()
public int getYResolution()
public ColorSpace getColorSpace()
public int getNumberOfComponents()
public int getBitsPerComponent()
public boolean getImageMask()
public boolean getInterpolate()
public Image getMask()
public Pixmap toPixmap()